Termination Proof Script

Consider the TRS R consisting of the rewrite rules
1:    max(L(x))  → x
2:    max(N(L(0),L(y)))  → y
3:    max(N(L(s(x)),L(s(y))))  → s(max(N(L(x),L(y))))
4:    max(N(L(x),N(y,z)))  → max(N(L(x),L(max(N(y,z)))))
There are 3 dependency pairs:
5:    MAX(N(L(s(x)),L(s(y))))  → MAX(N(L(x),L(y)))
6:    MAX(N(L(x),N(y,z)))  → MAX(N(L(x),L(max(N(y,z)))))
7:    MAX(N(L(x),N(y,z)))  → MAX(N(y,z))
The approximated dependency graph contains 2 SCCs: {5} and {7}. Hence the TRS is terminating.
Tyrolean Termination Tool  (0.01 seconds)   ---  May 4, 2006